<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>等待洗衣</title>
    <link href="css/swiper.min.css" rel="stylesheet"/>
    <link href="css/public.css" rel="stylesheet"/>
    <link href="css/main.css" rel="stylesheet"/>
    <link href="css/style.css" rel="stylesheet"/>

    <script src="./js/jquery-1.9.1.js"></script>

    <script src="js/mobile-util.js"></script>
    <script src="js/layer/layer.js"></script>
    <script src="js/public.js"></script>
	<script src="js/jquery.uploadify.js"></script>

	<style>
		.comfimprice{
			padding: 1.5rem 0;
			text-align: center;
			color: #ED5E64;
			background: white;
		}
		.comfiminfo{
			margin-top: .5rem;
			padding: .5rem;
			background: white;
		}
		.comfiminfo li{
			padding: .5rem 0;
		}
		body{
			background: #EDEDED!important;
		}
	</style>
	<script>
		/*获取url参数*/
		function getUrlParam(name) {
			var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
			var r = window.location.search.substr(1).match(reg);  //匹配目标参数
			if (r != null) return unescape(r[2]); return null; //返回参数值
		}

		/*获取url参数end*/
	</script>

</head>
<body> 

<header class="mui-bar mui-bar-nav indexheader flex">
    <div class="headerlogo hide" >
        <i class="iconfont backbtn">&#xe602;</i>
    </div>

    <div class="headertitle">
        <p>等待洗衣</p>
    </div>

    <div class="headerright">

    </div>

</header>


<main class="realmain">
	<div class="comfimprice">
		<p class="iconfont" style="font-size: 2rem;text-align: center">&#xe608;</p>
		<p style="font-size: 1rem;margin-top: 1rem;text-align: center;color: #000000">付款成功<span id="equipmentprice" style="font-size: 1rem;"></span>元</p>
	</div>

	<ul class="comfiminfo">
		<li class="flex">

			<div class="flex-1 te-le" style="font-size:.6rem">
				洗衣机设备号
			</div>

			<div class="flex-1 te-ri" id="equipment" style="font-size:.6rem">
				<!--12312312-->
			</div>
		</li>
	</ul>


	<div class="ma-speen-5">
		<input type="button" value="返回等待" id="rechargebtn"  class="rechargebtn">
	</div>

	<!-- <div class="publicbox">
		<table cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td width="30%">
					<img src="img/erweima.png" class="publicimg">
				</td>

				<td width="40%">
					<p class="publictitle">千里狐公众号</p>
					<p class="publicp">wifi充值更优惠</p>
				</td>

				<td width="30%" align="right">
					<button class="publicbtn" onclick="window.location.href='follow.html'">领取优惠</button>
				</td>
			</tr>
		</table>
	</div> -->

	<div class="markbox">
		<img src="img/loading1.gif" />
	</div>
</main>

</body>

<script>
	$(function(){
		setTimeout(function(){
			$('.markbox').hide();
		},2000);
		var sn1=getUrlParam("device_sn");
		var rechargeprice=getUrlParam("rechargeprice");
		$('#equipmentprice').html(rechargeprice);
		$('#equipment').html(sn1);
		$('#rechargebtn').click(function(){
			window.location.href='index.html?device_sn='+sn1;
		});
	})
</script>








</html>
